
package com.probiz.estore.solrsearch.model;

import java.util.Date;

public class IndexEntity {

	public static final String	TYPE_PRODUCT	= String.valueOf("1");
	public static final String	TYPE_CONTENT	= String.valueOf("2");

	private String				indexId;    		//索引的id
	private String				indexType;  		//实体的类型
	private Integer				entityId;   		//对应实体的id
	private String				entityTitle;  		//实体的名称
	private String				description;		//描述
	private String				imageUrl;			//
	private Date				updateTime;			//索引更新时间
	private String				categoryName;		//索引的目录名称
	private String				uri;				//索引的uri链接
	public String getIndexId() {
		return indexId;
	}
	public void setIndexId(String indexId) {
		this.indexId = indexId;
	}
	public String getIndexType() {
		return indexType;
	}
	public void setIndexType(String indexType) {
		this.indexType = indexType;
	}
	public Integer getEntityId() {
		return entityId;
	}
	public void setEntityId(Integer entityId) {
		this.entityId = entityId;
	}
	public String getEntityTitle() {
		return entityTitle;
	}
	public void setEntityTitle(String entityTitle) {
		this.entityTitle = entityTitle;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public static String getTypeProduct() {
		return TYPE_PRODUCT;
	}
	public static String getTypeContent() {
		return TYPE_CONTENT;
	}
	public String getUri() {
		return uri;
	}
	public void setUri(String uri) {
		this.uri = uri;
	}
	
	
}
